<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libexif-0.6.21
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;10.&nbsp;Graphics and Font Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="lcms2.html" title="Little CMS-2.9">Prev</a>
          <p>
            Little CMS-2.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libgxps.html" title="Libgxps-0.3.1">Next</a>
          <p>
            Libgxps-0.3.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libexif" name="libexif"></a>libexif-0.6.21
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libexif
        </h2>
        <p>
          The <span class="application">libexif</span> package contains a
          library for parsing, editing, and saving EXIF data. Most digital
          cameras produce EXIF files, which are JPEG files with extra tags
          that contain information about the image. All EXIF tags described
          in EXIF standard 2.1 are supported.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2">
                https://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 27339b89850f28c8f1c237f233e05b27
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 17 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Required patch: <a class="ulink" href=
                "http://www.linuxfromscratch.org/patches/blfs/9.1/libexif-0.6.21-security_fix-1.patch">
                http://www.linuxfromscratch.org/patches/blfs/9.1/libexif-0.6.21-security_fix-1.patch</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libexif Dependencies
        </h3>
        <h4>
          Optional (to Build Documentation)
        </h4>
        <p class="optional">
          <a class="xref" href="doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> and <a class="xref" href=
          "graphviz.html" title="Graphviz-2.42.3">Graphviz-2.42.3</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libexif">http://wiki.linuxfromscratch.org/blfs/wiki/libexif</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libexif
        </h2>
        <p>
          First, apply a patch to fix a security issue (integer overflow):
        </p>
        <pre class="userinput">
<kbd class=
"command">patch -Np1 -i ../libexif-0.6.21-security_fix-1.patch</kbd>
</pre>
        <p>
          Install <span class="application">libexif</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --disable-static \
            --with-doc-dir=/usr/share/doc/libexif-0.6.21 &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          Documentation was built and installed if you have the dependencies
          shown above installed. If you don't have the dependencies
          installed, there is a compressed tarball in the source tree
          <code class="filename">doc</code> directory that can be unpacked
          into /usr/share/doc/libexif-0.6.21.
        </p>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libexif.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/libexif and
              /usr/share/doc/libexif-0.6.21</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libexif-lib" name="libexif-lib"></a><span class=
                    "term"><code class="filename">libexif.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions used for parsing, editing, and saving
                    EXIF data.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="lcms2.html" title="Little CMS-2.9">Prev</a>
          <p>
            Little CMS-2.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libgxps.html" title="Libgxps-0.3.1">Next</a>
          <p>
            Libgxps-0.3.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="graphlib.html" title=
          "Chapter&nbsp;10.&nbsp;Graphics and Font Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
